package com.dews.warn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dews.warn.domain.dto.NotificationMessageQueryDTO;
import com.dews.warn.domain.entity.NotificationMessage;
import com.dews.warn.domain.vo.NotificationMessageVo;

import java.util.List;

/**
 * 消息通知Service接口
 * 
 * @author qingfeng
 * @date 2025-02-05
 */
public interface INotificationMessageService extends IService<NotificationMessage> {

    /**
     * 查询消息通知列表
     *
     * @param notificationMessageQueryDTO
     * @return 消息通知集合
     */
    public List<NotificationMessageVo> selectNotificationMessageList(NotificationMessageQueryDTO notificationMessageQueryDTO);

    /**
     * 查询消息通知
     * 
     * @param id 消息通知主键
     * @return 消息通知
     */
    public NotificationMessageVo selectNotificationMessageById(Integer id);

    /**
     * 批量删除消息通知
     * 
     * @param ids 需要删除的消息通知主键集合
     * @return 结果
     */
    public int deleteNotificationMessageByIds(List<Integer> ids);

}
